package Custom;

import java.awt.Color;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

////////// THE MAGIC MOUSE OVER EFFECT \\\\\\\\\\

public class MouseOver implements MouseListener {
	private Button a;
	private Color textColor = new Color(189, 188, 187);
	

	// /// WHEN YOU ADD THIS MOUSEOVER YOU MUST ALWAYS GIVE A BUTTON AS
	// PARAMETER \\\\\

	public MouseOver(Button a) {
		this.a = a;

		// /// SPEAKS FOR IT'S SELF I GUESS \\\\\
	}

	public void mouseClicked(MouseEvent e) {
		
	}

	public void mouseEntered(MouseEvent e) {
		a.setForeground(textColor);
	}

	public void mouseExited(MouseEvent e) {
		a.setForeground(Color.white);
	}

	public void mousePressed(MouseEvent e) {

	}

	public void mouseReleased(MouseEvent e) {

	}

}
